package com.css.zfzx.sjcj.modules.qhrisklevelmappoint.repository;

import com.css.zfzx.sjcj.modules.qhrisklevelmappoint.repository.entity.QhRiskLevelMapPointEntity;
import com.css.zfzx.sjcj.modules.qhrisklevelmappoint.viewobjects.QhRiskLevelMapPointQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author andy
 * @date 2021-01-26
 */
public interface QhRiskLevelMapPointNativeRepository {

    Page<QhRiskLevelMapPointEntity> queryQhRiskLevelMaps(QhRiskLevelMapPointQueryParams queryParams, int curPage, int pageSize);

    public List<QhRiskLevelMapPointEntity> listQhRiskLevelMaps(QhRiskLevelMapPointQueryParams queryParams);

    public int lookUpQhRiskLevelMaps(QhRiskLevelMapPointQueryParams queryParams, boolean isNewTable);

    public List<QhRiskLevelMapPointEntity> searchRiskLevelMapsByJDBC(QhRiskLevelMapPointQueryParams queryParams);

    public Page<QhRiskLevelMapPointEntity> queryRiskLevelMapsByFileNameJDBC(QhRiskLevelMapPointQueryParams queryParams, int curPage, int pageSize, String sort, String order);

    //zyt--查询数据的UUID列表
    public List<String> listQhRiskLevelMapPointsUuidsByJDBC(QhRiskLevelMapPointQueryParams queryParams);
}
